<ul class="bg-w position-list">
    <!-- 列表信息 -->
    <!-- ui-sref=""点击跳转页面  position要在script/config/router.js进行配置，与state对应 -->
    <!-- filterByObj过滤器；filterObj在positionList进行定义 -->
    <li ui-sref="position({id:item.id})" class="item p-r" ng-repeat="item in data|filterByObj:filterObj">
        <img class="f-l logo" ng-src="{{item.imageUrl}}" alt="">
        <h3 class="title" ng-bind="item.name"></h3>
        <p class="text" ng-bind="item.companyName+'['+item.cityName+']'+' '+item.industryName +' '+item.scaleName"> </p>
        <p class="text c-r" ng-bind="item.salaryName"></p>
        <p class="text" ng-bind="item.date"></p>

        <!-- ng-if="isFavorite"用于控制是否显示收藏的星星 -->
        <!-- $event.stopPropagation();阻止冒泡，也就是点击五角星，不会跳转到详情页 -->
        <span ng-if="isFavorite" ng-click="$event.stopPropagation();select(item);" class="p-a icon {{item.select?'star-active':'star'}}"></span>

        <div class="clear"></div>
    </li>
</ul>